home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / os2 / xm198os2.zip / MODEMS.ZIP / XENMODEM.CFG < prev    next >
Text File  |  1995-01-31  |  18KB  |  368 lines

  1. ; =============================================================================
  2. ; XENMODEM.CFG  Xenia TE/modem config         Xenia Version 1.98 - January 1995
  3. ; =============================================================================
  4. ; This is the file with info about ALL possible settings for TE/modems
  5. ; Usually you'll have a config file for a specific TE/modem (like ZYXEL.CFG)
  6. ; which is included from LINE*.CFG
  7.  
  8.  
  9. ; -----------------------------------------------------------------------------
  10. ; Special characters in modem command strings:
  11. ;       `   Wait 1/20th sec before sending next char
  12. ;       ~   Wait 1 second before sending next char
  13. ;       |   Send return and wait for response
  14. ;       !   Send return but don't wait
  15. ;       -   Ignored (not sent)
  16. ;       v   Lower DTR
  17. ;       ^   Raise DTR
  18. ;  <space>  Is the end of the command string in case of ANSWER and PREFIXSUFFIX
  19. ;           In other strings, it's just ignored.
  20. ;           To prevent confusion, better not use them, or escape them.
  21. ;       \   Quote character: don't send \, but send next character WITHOUT
  22. ;           translation as above use this to send e.g. a ; in a modem string,
  23. ;           \; to send a ; and \<space> to send a space.
  24. ; "a text"  Anything between doublequotes is sent as is (including any special
  25. ;           chars like the above that would normally have another function),
  26. ;           and the doublequotes themselves are ALSO sent.
  27. ;           Nice for FAX ID strings, and Internet dialling via VMODEM.
  28.  
  29.  
  30. ; -----------------------------------------------------------------------------
  31. ; Use this comport to talk to the modem (FOSSIL port 1-64, internal 1-16)
  32. ; In the OS/2 version, device names are also allowed (ie. COM1, etc)
  33. ; OS/2 only: device name ISDN select's COMCAPI.DLL's ISDN CAPI handler.
  34.  
  35. ;PORT 2         ; DOS and OS/2: COM port number
  36. ;PORT COM1      ; OS/2 only: device names
  37.  
  38. ;PORT CAPI      ; OS/2 only: direct ISDN CAPI support (no BBS access possible!)
  39.                 ; see the modem config file COMCAPI.CFG for details.
  40.  
  41. ;PORT 0         ; DOS only: single line only, using internal async routines
  42.                 ; Xenia tries to autodetect which comport for TE/modem....
  43.  
  44.  
  45. ; -----------------------------------------------------------------------------
  46. ; SHAREPORT
  47. ; Makes Xenia leave the comport active/open when calling external applications.
  48. ; Under OS/2, this is required for BBS access, or you'll lose the carrier.
  49. ; Under DOS, it means leaving the FOSSIL 'hot'. Not usually needed or wanted.
  50. ;
  51. ; Because it affects both DOS and OS/2 operations, it's smarter to use the
  52. ; Xenia command line option 'SHARE' just in the appropriate batchfiles instead
  53. ; of fixing this setting here....
  54.  
  55. ;SHAREPORT
  56.  
  57.  
  58. ; -----------------------------------------------------------------------------
  59. ; SPEED [LOCK] initspeed
  60.  
  61. ;SPEED 1200                     ; A simple 1200 bps modem
  62. ;SPEED 2400                     ; ditto, 2400
  63. ;SPEED LOCK 19200               ; highspeed modem locked at 19200 bps
  64. ;SPEED LOCK 38400
  65. ;SPEED LOCK 57600
  66. ;SPEED LOCK 115200              ; Real heavy stuff ;-)
  67. ;SPEED LOCK 64000               ; Nice for 'fake' comports (ISDN cFos/COMCAPI)
  68.  
  69.  
  70. ; -----------------------------------------------------------------------------
  71. ; SLOWMODEM
  72. ; Send the modem its commands slowly, waiting for 1/20th sec before next char.
  73. ; Most modern modems won't need this. But some.... ;-)
  74.  
  75. ;SLOWMODEM
  76.  
  77.  
  78. ; -----------------------------------------------------------------------------
  79. ; Special options
  80.  
  81. ;MAILER NO-INIT                 ; Don't (re)init modem every 10 minutes
  82.  
  83. ;MAILER COLLIDE                 ; Do call collision (answer after NO DIALTONE)
  84.  
  85.  
  86. ; -----------------------------------------------------------------------------
  87. ; The basic init/reset stuff
  88.  
  89. ;INIT        ATZ|ATS2=255|              ; Initialization command(s)
  90. ;TERMINIT    ATZ|ATS2=255|              ; Command sent when entering terminal
  91. ;RESET       ATZ|                       ; Reset, when exiting Xenia via Alt-X
  92. ;BUSY        ATM0H1|                    ; Other exits, like for an event.
  93. ;HANGUP      !`v~~^`!!``                ; Normal DTR toggle to hangup (default)
  94. ;HANGUP      ^~~+++~~~ATH!~~            ; Stupid modems that need +++ treatment
  95.  
  96.  
  97. ; -----------------------------------------------------------------------------
  98. ; DATA <commandstring>
  99. ; USR V.32Terbo modems report 'DATA' in adaptive mode and then return to
  100. ; command mode; then the application has to send ATO before getting 'CONNECT n'
  101. ; If you have a USR V.32Terbo, you'll need to use this option.
  102. ; If you have a different type modem, never mind this stuff at all.
  103. ; If you have a USR V.Everything (V.FC/V.34) etc, do NOT use this option!
  104.  
  105. ;DATA  ATO|
  106.  
  107.  
  108. ; -----------------------------------------------------------------------------
  109. ; MDMTIMEOUT <seconds>
  110. ; Change the number of seconds that Xenia should wait for a CONNECT response
  111. ; when dialling or answering. The default is 60 seconds (1 minute)
  112. ; Some people in the xUSSR and Baltic countries will find this option useful.
  113.  
  114. ;MDMTIMEOUT 60
  115.  
  116.  
  117. ; -----------------------------------------------------------------------------
  118. ; ANSWER <commandstring>|IGNORE [<pattern> ...]
  119. ; You can have multiple answer strings, where Xenia selects the appropriate one
  120. ; by checking the complete RING response string (as sent by the TE/modem)
  121. ; against the patterns specified here. The first one matching gets the job.
  122. ; This can be useful with ISDN, where you could use another answer setting
  123. ; based on the called MSN/EAZ, or the calling party's number (CLIP).
  124. ; There is one special commandstring, IGNORE, meaning: don't answer the call.
  125. ; An ANSWER line with no pattern is sorted last by Xenia, and selected as the
  126. ; default if nothing else matches.
  127.  
  128. ;ANSWER      ATS15=x0740|ATA| EAZ=9     ; This one if 'EAZ=9' in ring string.
  129. ;ANSWER      IGNORE           12345678  ; Don't answer calls from this phone#
  130. ;ANSWER      ATM0+FAA=1A|
  131. ;ANSWER      ATA|
  132.  
  133.  
  134. ; -----------------------------------------------------------------------------
  135. ; FIRSTRING
  136. ; Normally Xenia waits for the second RING signal before answering the phone..
  137. ; ISDN in some countries (like Denmark?) declares 'no answer' after the second
  138. ; ring, so use 'FIRSTRING' when using Xenia on such ISDN lines.
  139. ; Thank Thomas Hedberg for this one (2:234/73)
  140.  
  141. ;FIRSTRING
  142.  
  143.  
  144. ; -----------------------------------------------------------------------------
  145. ; AFTERCALL <commandstring>
  146. ; Useful if you have ISDN with the cost indication service, or want to view
  147. ; your modem's link status screen after each outbound or incoming mailsession.
  148. ; The command is not sent after BBS callers (that would fill up your log ;-)
  149.  
  150. ;AFTERCALL   ATI2|                      ; Get link status from ZyXEL modems
  151. ;AFTERCALL   ATI6|                      ; Get link status from USR V.32BIS
  152. ;AFTERCALL   ATI11I6|                   ; Get link status from USR V.Everything
  153. ;AFTERCALL   AT%L%QS86?|                ; Supra's aftercall info.
  154.  
  155.  
  156. ; -----------------------------------------------------------------------------
  157. ; OKDIAL [-]pattern [[-]pattern ...]
  158. ;
  159. ; Tells Xenia which systems this line is allowed to call, and which not.
  160. ; You may use address patterns, phone# patterns, or (parts of) nodelist flags.
  161. ; A pattern prefixed by - means 'not allowed to call this one'.
  162. ;
  163. ; Xenia scans all patterns in order, and the first one that matches is used to
  164. ; determine whether calling is allowed.
  165. ; If no pattern matches, the last pattern listed indirectly decides whether the
  166. ; call is made: if prefixed with a -<whatever>, all the rest is okay (like *);
  167. ; otherwise all the rest is not allowed (like -*).
  168. ;
  169. ; Especially on multiline systems with different modems/ISDN adapters, this is
  170. ; an absolutely fabulous feature!
  171.  
  172. ;OKDIAL -V21 -V23 V32 ZYX V22 V34 VFC    ; Using some nodelist flags
  173. ;OKDIAL -2:283/512 2:283/512.2 -+1-*     ; Address / phone# patterns
  174. ;OKDIAL ISDNA ISDNB ISDNC -*             ; An ISDN cFos/COMCAPI task....
  175. ;OKDIAL ISDNA ISDNB ISDNC ISDN -*        ; US ISDN flag: any V.120 adapter
  176.  
  177.  
  178. ; -----------------------------------------------------------------------------
  179. ; PREFIXSUFFIX [prefix]/[suffix] [address/telnr-pattern/nodelistflags ...]
  180. ; Prefix/suffix for modem dial command string
  181. ; The prefix is sent to the modem first, then the translated telephone number,
  182. ; and then the suffix (usually just a | for return and wait for response).
  183. ;
  184. ; You can specify patterns to select a different command string.
  185. ; This pattern can be a nodenumber, (part of) a phone#, or a nodelist flag!
  186. ; Below are just a few (totally bogus) examples of things you can do....
  187.  
  188. ;PREFIXSUFFIX  ATSnn=xxxDT/|    HST +44-* 2:283/512
  189. ;PREFIXSUFFIX  ATSnn=nnnDT/|    ZYX Z16 Z19 2:28/900
  190. ;PREFIXSUFFIX  ATDT/|                   ; Xenia's default prefixsuffix
  191.  
  192. ;PREFIXSUFFIX  ATB0D/|          ISDNC   ; If you use cFos or COMCAPI....
  193. ;PREFIXSUFFIX  ATB1D/|          ISDNB
  194. ;PREFIXSUFFIX  ATB2D/|          ISDNA
  195. ;PREFIXSUFFIX  ATB0D/|
  196.  
  197.  
  198. ; -----------------------------------------------------------------------------
  199. ; MAXRINGS <count>
  200. ; Maximum number of rings to wait when dialling; some modems recognize the
  201. ; other side's ringing with a response code RING, RRING or RINGING. If you want
  202. ; Xenia to quit waiting for the other side to pick up, specify # of rings here.
  203.  
  204. ;MAXRINGS 4
  205.  
  206.  
  207. ; -----------------------------------------------------------------------------
  208. ; MDMRSP <code> <modem response>
  209. ;
  210. ; You can now configure Xenia for special modem response codes, to deal with
  211. ; V.25BIS stuff for instance (send me info!)
  212. ; The original stuff is still in Xenia, and can deal with any standard HAYES
  213. ; *verbal* response and connect strings of any speed. So unless you're trying
  214. ; do do something special, you will have no need to specify anything here...
  215. ; Anything specified HERE is checked FIRST, so you can override the internals.
  216. ; Modem responses may contain spaces!
  217.  
  218. ;MDMRSP CONNECT CONNECT                 ; Standard CONNECT, followed by speed
  219. ;MDMRSP SET     SET TO                  ; Standard SET TO, followed by speed
  220.  
  221. ;MDMRSP FAX     +FCO                    ; +FCO or +FCON class 2/2.0 FAX connect
  222. ; This code (FAX) is only used if internal FAX is not disabled.
  223. ; Also, any response containing the word 'FAX' is ignored if FAX enabled.
  224. ; That's why you have to use 'FAX OFF' if you want an external FAX handler....
  225.  
  226. ;MDMRSP DATA    DATA                    ; USR V.32Terbo adapt. DATA/FAX connect
  227. ; Xenia sends the 'DATA' modem commandstring and waits for real connect string.
  228. ; This code is only enabled if a DATA command has been configured, otherwise
  229. ; this code is just ignored. This because some OTHER modems do give a DATA
  230. ; response, but then (by themselves) immediately follow that with CONNECT ....
  231.  
  232. ;MDMRSP NOCONN  NO CARRIER              ; NOCONN = NO CONNECT
  233. ;MDMRSP NOCONN  BUSY
  234. ;MDMRSP NOCONN  VOICE
  235. ;MDMRSP NOCONN  NO ANSWER
  236.  
  237. ;MDMRSP NODIAL  NO TONE                 ; NODIAL = NO DIALTONE / NO DIAL TONE
  238. ;MDMRSP NODIAL  NO DIAL                 ;          possible call collision
  239.  
  240. ;MDMRSP ERROR   ERROR
  241.  
  242. ;MDMRSP RING    RING                    ; RING, RRING, RINGING, etc
  243. ;MDMRSP RING    RRING
  244.  
  245. ;MDMRSP OK      OK                      ; Command processed okidoki
  246.  
  247. ; The following is very special: Xenia can decode a lot of connect strings but
  248. ; if you have something extremely weird, you can specify the complete response
  249. ; string here, and the connect speed Xenia should then assume for the connect.
  250. ; Note: speed should be something above 256, and also below 4147483647 ;-)
  251. ;MDMRSP 99999   CONNECT VERYFAST        ; Weird string 'CONNECT VERYFAST'
  252.  
  253. ; Xenia can decode any 'CONNECT <number>' by itself, and additionally:
  254.  
  255. ; CONNECT FAX  (Xenia assumes 9600 or 19200, depending on speed of comport)
  256. ; This line contains the word 'FAX' so is only used if internal FAX disabled!
  257.  
  258. ; CONNECT 103  (Xenia assumes 300 bps)
  259. ; CONNECT 12/75, 75/12, 212, 75, 12, 1275, and 7512  (Xenia assumes 1200 here)
  260.  
  261. ; Xenia used to regard 'CONNECT FAST' as 9600, but I removed that because some
  262. ; modems may nowadays mean something else with 'FAST'.
  263.  
  264.  
  265. ; -----------------------------------------------------------------------------
  266. ; MDMCAUSE <xxxx> <descriptive text>
  267. ;
  268. ; Used to decode ISDN CAPI FOSSIL (cFos by Chris Lueders and Martin Winkler)
  269. ; codes, as passed back from the ISDN CAPI in 'modem' response strings.
  270. ; Also Xenia's own ISDN OS/2 CAPI support (using Michael Buenter's COMCAPI.DLL)
  271. ;
  272. ; What it comes down to is that 'NO CONNECT/CAUSE=34bb' would be translated to
  273. ; 'NO CONNECT/CAUSE=User busy' which of course is a bit more descriptive ;-)
  274. ; A fairly complete list of causes is in the following include file....
  275. ;INCLUDE C:\XENIA\MODEMS\XENCAUSE.CFG
  276.  
  277. ; One more thing for ISDN cFos users....
  278. ; If you want to enable call collision detection ('mailer collide' option), we
  279. ; have to adjust something so Xenia can distinguish between a NO DIALTONE
  280. ; caused by a collision, and a NO DIALTONE created by an ISDN call setup error.
  281. ; I *think* (haven't tested this yet) this can be done by putting the following
  282. ; line above any other mdmrsp lines in the config.
  283. ; Note the slash. So any response with a /CAUSE= will be regarded as a normal
  284. ; unsuccessful call attempt, while a plain 'NO DIALTONE' without /CAUSE= will
  285. ; be picked up by the default line and regarded as a call collision indication.
  286. ;MDMRSP NOCONN  NO DIALTONE/
  287.  
  288.  
  289. ; -----------------------------------------------------------------------------
  290. ; FAX [OFF] [LOCK] [CARRIER] [NOSWAP]
  291. ;
  292. ; Internal FAX receive for *ALL* class 2 / 2.0 (Fax group III) faxmodems!
  293. ; Xenia stores the fax in the specified directory, using the ZyXEL file format
  294. ; (no matter what brand faxmodem you use).
  295. ; This format is not definite and I may change it in the future, but it's nice
  296. ; because it uses 1 file per FAX instead of 1 file per page...
  297. ; XenEdit and FrontDoor's FM have internal support for the notification message
  298. ; and calling an external utility like ZFAX for viewing/printing a FAX message.
  299. ;
  300. ; You will note that Xenia has no 'userinterface' for FAX receiving yet, so no
  301. ; nice screen will pop up during a FAX transfer. Everything works fine though!
  302. ; Also, FAX sending (and polling!) capabilities will be added later.
  303. ;
  304. ; OFF      Switches off the internal FAX support and allows for special connect
  305. ;          strings like 'CONNECT FAX' to start up special programs with EXTAPP.
  306. ;          Normally Xenia Mailer would 'eat' and use the strings internally....
  307. ; CARRIER  If your faxmodem also uses carrier detect during FAX calls; many
  308. ;          don't, so you may need to remove this for your particular brand.
  309. ; LOCK     If your faxmodem also keeps the comspeed locked during FAX calls.
  310. ;          Class 2 faxmodems: ZyXEL and SmartLink locks, Supra 14k4 does not.
  311. ;          Class 2.0 faxmodems: USR V.Everything locks.
  312. ;          If you run DOS, use and lock a FOSSIL, and have a faxmodem that
  313. ;          cannot use LOCK (like Supra 14k4) you will have to tell Xenia not to
  314. ;          use FOSSIL (see NOFOSSIL statement below), otherwise it cannot adapt
  315. ;          the speed of the comport during a FAX call!
  316. ; NOSWAP   This affects the bitorder of received FAX data.
  317. ;          Class 2 faxmodems pass their data in swapped form, so Xenia swaps
  318. ;          again before writing to disk.
  319. ;          HOWEVER, Class 2.0 modems like the USR V.Everything do NOT swap,
  320. ;          so this option tells Xenia to keep off and write straight to disk.
  321. ;
  322. ;          NOTE: Changes are some of you will get the NOSWAP thing wrong with
  323. ;          certain modems/settings. If you try to view a FAX and just see big
  324. ;          black bars (usually vertical), you've got the wrong setting.
  325. ;          What use is that, you ask?  Well, there's a little utility in the
  326. ;          Xenia distribution package (FAXSWAP.COM/FAXSWAP2.EXE) that will read
  327. ;          any raw or ZFAX format FAX file, and swap all those bytes around.
  328. ;          So you'll never really lose a FAX message.... nice eh? ;-)
  329.  
  330. ;FAX OFF
  331. ;FAX CARRIER
  332. ;FAX CARRIER LOCK
  333. ;FAX CARRIER LOCK NOSWAP                ; A USR V.Everything
  334.  
  335.  
  336. ; -----------------------------------------------------------------------------
  337. ; The settings below are all DOS ONLY, harmless but ignored under OS/2
  338.  
  339. ;NOFOSSIL                       ; Force using Xenia's internal async routines!
  340. ;DCDMASK 128                    ; Carrier detect status bit (default=128)
  341. ;HANDSHAKE HARD                 ; HANDSHAKE NONE, SOFT (XON/XOFF), HARD, BOTH
  342.                                 ; HARD is automatically enabled if PORT LOCK ..
  343.                                 ; Don't use SOFT or BOTH unless really needed,
  344.                                 ; it will slow down Hydra filetransfers.
  345.  
  346. ; The following options (FIFO/COMINFO) only do anything if FOSSIL not used...
  347. ;FIFO OFF                       ; Disable 16550A UART use
  348. ;FIFO 4                         ; Set 16550A FIFO to 1,4,8 or 14 (default=8)
  349. ;COMINFO 1=3F8,4                ; Change port address/interrupt
  350. ;COMINFO 4=2E8,3                ; Port 1-64, address in hex, interrupt 0-15
  351.  
  352. ; Suspend async I/O during disk access
  353. ; Needed on some systems, also sometimes with (staged/lazy-write) disk caches.
  354. ; If you have a decent modem, this shouldn't even slow down a transfer....
  355. ; This option only works with extended FOSSIL (X00 1.50+) or internal async.
  356. ;SLOWDISK
  357.  
  358.  
  359. ; -----------------------------------------------------------------------------
  360. ; Advanced PTT cost-pulse feature, contact AGL for info about required hardware
  361. ; Data lines 0-7 high enables hardware, ACK line generates interrupt signal
  362. ; Also makes Xenia able to detect no-connects that DID cost money!  DOS ONLY.
  363. ;PTT_PULSE 3BC 7 15 Fl.         ; Hardware located on LPT port 3BC/IRQ7,
  364.                                 ; 15 cents a pulse, currency string 'Fl.'
  365.  
  366.  
  367. ; =============================================================================
  368.